package com.choosefine.it.worker.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

import com.choosefine.it.base.Base;
import com.choosefine.it.basedata.model.FinishPhoto;
import com.fasterxml.jackson.annotation.JsonIgnore;
/**
 * 工人历史工作信息
 * 
 * @auth liaozhanggen 2016-12-1 上午10:16:16
 *
 */
@ApiModel(value = "工人历史工作信息", description = "工人历史工作信息")
public class WorkerHistoryInfo extends Base {

	private static final long serialVersionUID = 1L;
	
	@JsonIgnore
	@ApiModelProperty(value = "员工和班组的关系ID", required = true)
	private int workerTeamRelationId;	//员工和班组的关系ID 
	
	@JsonIgnore
	@ApiModelProperty(value = "项目编号", required = true)
	private String projectCode;	//项目编号
	
	@ApiModelProperty(value = "项目名称", required = true)
	private String projectName;	//项目名称
	
	@ApiModelProperty(value = "项目类别", required = true)
	private String projectTypeName;	//项目类别
	
	@ApiModelProperty(value = "联系人", required = true)
	private String projectContractorName;	//联系人
	
	@ApiModelProperty(value = "地址", required = true)
	private String projectAddress;		//地址
	
	@ApiModelProperty(value = "工作表现度 （1：优、2:良、3：差）", required = true)
	private int workLevel;	//工作表现度 （1：优、2:良、3：差）
	
	@ApiModelProperty(value = "技术能力等级 （1：优、2:良、3：差）", required = true)
	private int skillLevel;	 //技术能力等级 （1：优、2:良、3：差）
	
	@ApiModelProperty(value = "工种名称", required = true)
	private String workTypeName;	//工种名称
	
	@ApiModelProperty(value = "班组挂靠单位id", required = true)
	private int affiliatedUnitsId;	//班组挂靠单位id
	
	@ApiModelProperty(value = "班组挂靠单位", required = true)
	private String affiliatedUnitName;	//班组挂靠单位
	
	@JsonIgnore
	@ApiModelProperty(value = "班组id", required = true)
	private int teamId;	//班组id
	
	@ApiModelProperty(value = "班组名称", required = true)
	private String teamTypeName;	//班组名称

	@JsonIgnore
	@ApiModelProperty(value = "班组承包人user code", required = true)
	private String teamUserCode;	//班组承包人user code
	
	@ApiModelProperty(value = "班组承包人信息", required = true)
	private String teamContractorName;	//班组承包人信息
	
	@ApiModelProperty(value = "工人入班组工作时间", required = true)
	private Long startWorkTime;	//工人入班组工作时间
	
	@ApiModelProperty(value = "工人完成在班组工作时间", required = true)
	private Long endWorkTime;	//工人完成在班组工作时间
	
	@ApiModelProperty(value = "在班组下的总干的工时", required = true)
	private int totalWorkHour;	//在班组下的总干的工时

	@ApiModelProperty(value = "完工照片列表", required = true)
	private List<FinishPhoto> finishPhotos;	//完工照片列表

	public int getWorkLevel() {
		return workLevel;
	}

	public void setWorkLevel(int workLevel) {
		this.workLevel = workLevel;
	}

	public int getSkillLevel() {
		return skillLevel;
	}

	public void setSkillLevel(int skillLevel) {
		this.skillLevel = skillLevel;
	}

	public int getAffiliatedUnitsId() {
		return affiliatedUnitsId;
	}

	public void setAffiliatedUnitsId(int affiliatedUnitsId) {
		this.affiliatedUnitsId = affiliatedUnitsId;
	}

	public String getAffiliatedUnitName() {
		return affiliatedUnitName;
	}

	public void setAffiliatedUnitName(String affiliatedUnitName) {
		this.affiliatedUnitName = affiliatedUnitName;
	}

	public String getTeamTypeName() {
		return teamTypeName;
	}

	public void setTeamTypeName(String teamTypeName) {
		this.teamTypeName = teamTypeName;
	}

	public Long getStartWorkTime() {
		return startWorkTime;
	}

	public void setStartWorkTime(Long startWorkTime) {
		this.startWorkTime = startWorkTime;
	}

	public Long getEndWorkTime() {
		return endWorkTime;
	}

	public void setEndWorkTime(Long endWorkTime) {
		this.endWorkTime = endWorkTime;
	}

	public int getTotalWorkHour() {
		return totalWorkHour;
	}

	public void setTotalWorkHour(int totalWorkHour) {
		this.totalWorkHour = totalWorkHour;
	}

	public String getTeamUserCode() {
		return teamUserCode;
	}

	public void setTeamUserCode(String teamUserCode) {
		this.teamUserCode = teamUserCode;
	}

	public String getTeamContractorName() {
		return teamContractorName;
	}

	public void setTeamContractorName(String teamContractorName) {
		this.teamContractorName = teamContractorName;
	}

	public List<FinishPhoto> getFinishPhotos() {
		return finishPhotos;
	}

	public void setFinishPhotos(List<FinishPhoto> finishPhotos) {
		this.finishPhotos = finishPhotos;
	}

	public int getTeamId() {
		return teamId;
	}

	public void setTeamId(int teamId) {
		this.teamId = teamId;
	}

	public int getWorkerTeamRelationId() {
		return workerTeamRelationId;
	}

	public void setWorkerTeamRelationId(int workerTeamRelationId) {
		this.workerTeamRelationId = workerTeamRelationId;
	}

	public String getProjectCode() {
		return projectCode;
	}

	public void setProjectCode(String projectCode) {
		this.projectCode = projectCode;
	}

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public String getProjectTypeName() {
		return projectTypeName;
	}

	public void setProjectTypeName(String projectTypeName) {
		this.projectTypeName = projectTypeName;
	}

	public String getProjectContractorName() {
		return projectContractorName;
	}

	public void setProjectContractorName(String projectContractorName) {
		this.projectContractorName = projectContractorName;
	}

	public String getProjectAddress() {
		return projectAddress;
	}

	public void setProjectAddress(String projectAddress) {
		this.projectAddress = projectAddress;
	}

	public String getWorkTypeName() {
		return workTypeName;
	}

	public void setWorkTypeName(String workTypeName) {
		this.workTypeName = workTypeName;
	}
}